package fa;

import java.util.Arrays;

public class va2 {
	
	public static void main(String[] args) {

		int a[]= {19,28,37,46,50};
		se(a);
		System.out.println(Arrays.toString(a));
	}
	public static void se(int [] arr) {
		for (int i = 0; i < arr.length; i++) {
			for (int j = 0; j < arr.length-1-i; j++) {
			
					int temp=arr[j];
					arr[j]=arr[j+1];
					arr[j+1]=temp;
				
			}
			
		}
	}
}
